import java.util.Scanner;
import java.awt.List;
import java.util.ArrayList;
import java.util.Arrays;

@SuppressWarnings("hiding")
interface StringStack<String>{
	public String push(String item);
	public String pop(); 
	public String peek(); 
	public boolean empty(); 
	public int size(); 
}
class ArrayListStringStack implements StringStack<String>{
	ArrayList<String> list;
	public ArrayListStringStack(){
		list=new ArrayList<String>();
	}
	public String push(String item){
		if(item==null){
			return null;	
		}
		else {
    		list.add(item);
    			return item;
			
		}
 	}
	public String pop(){
		if(empty()){
		      return null;
		}
		else {
		  	String elem=list.remove(list.size()-1);
			return elem;
			
		}
        }
	public String peek(){
		if(empty()){
		      return null;
		}
		else {
			return list.get(list.size()-1);
	    }
	}
	public boolean empty(){
		if(list.isEmpty()){
		  return true;
		}
		else return false;
	}
	public int size(){
	   return list.size();
	}
	@Override
	public String toString() {
		return list.toString();
	}	
	
}

public class Huiwen {
	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		while(in.hasNext()){
			String str=in.next();
			if(IsHuiwen(str)){
			System.out.println("is huiwen");
			}
			else System.out.println("no huiwen");
		}
	}
	public static boolean IsHuiwen(String str){
		ArrayListStringStack stack=new ArrayListStringStack();
		for (int i = 0; i < str.length(); i++) {
			stack.push(str.charAt(i)+"");
		}
		for (int i = 0; i < str.length(); i++) {
			if(!stack.peek().equals(str.charAt(i)+"")){
				return false;
			}
			else stack.pop();
		}
		return true;
	}
}
